home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
501-525
/
disk_519
/
oaklisp
/
src.lzh
/
gc.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-06-15
|
874b
|
29 lines
/* 1/RECLAIM_FACTOR is the target for how much of new space should be used
after a gc. If more than this is used, the next new space allocated will
be bigger. */
#define RECLAIM_FACTOR 2
#define OLD_PTR(r) (SPACE_PTR(old,(r)) || full_gc && SPACE_PTR(spatic,(r)))
extern space new, spatic, old;
extern bool trace_gc, full_gc;
extern unsigned long post_gc_wp();
#ifdef PROTOTYPES
extern void gc_printref(ref refin);
extern unsigned long gc_get_length(ref x);
extern ref gc_touch0(ref r);
extern ref loc_touch0(ref r, bool warn_if_unmoved);
extern void scavenge(void);
extern void loc_scavenge(void);
extern bool gc_check(ref r);
extern void GC_CHECK(ref x, char st[]);
extern void GC_CHECK1(ref x, char st[], long i);
extern unsigned short * pc_touch(unsigned short *o_pc);
extern void gc(bool pre_dump, bool full_gc, char *reason, long amount);
#endif